<template>
    <li>
        <router-link :to="{path:'/product/detail/',query:{proid:item.proid}}">
            <img class="img-responsive row" :src="item.image_path">
            <div class="product-info">
                <h2 class="ellipsis" v-text="item.title"></h2>
                <div class="price">{{item.price | Currency}}</div>
                <div class="self-sell flexbox items-center">
                    <span class="self-icons" v-if="item.pself">自营</span>
                    <span class="self-like" v-text="item.collectnum+'人已收藏'"></span>
                </div>
            </div>
        </router-link>
    </li>
</template>
<script>
import mixin from '../../mixin'
export default {
    mixins: [mixin],
    props: ['item']
}
</script>